﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editStudent.aspx.cs" Inherits="adminstrator_editStudent" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <strong>&nbsp; 选择查询字段</strong>&nbsp;&nbsp;&nbsp;&nbsp;

        <asp:DropDownList ID="DropDownList1" runat="server" Width="168px">
            <asp:ListItem>学号</asp:ListItem>
             <asp:ListItem>姓名</asp:ListItem>
             <asp:ListItem>学院</asp:ListItem>
            <asp:ListItem>ID</asp:ListItem>
             <asp:ListItem>民族</asp:ListItem>
             <asp:ListItem>性别</asp:ListItem>
           
        </asp:DropDownList>
   
    &nbsp;&nbsp;
        <asp:TextBox ID="TextBox1" runat="server" MaxLength="10"></asp:TextBox>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="ButtonOK" runat="server" Text="确定" OnClick="ButtonOK_Click" />
&nbsp;&nbsp;&nbsp;
        <asp:Button ID="ButtonReset" runat="server" Text="重置" OnClick="ButtonResrt_Click"/>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" style="margin-right: 91px;" Width="678px" AllowPaging="true"
             AutoGenerateColumns="false" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" OnPageIndexChanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:CommandField ShowEditButton="true" ItemStyle-Width="50px" />
                <asp:CommandField ShowDeleteButton="true" ItemStyle-Width="50px" />
                <asp:BoundField DataField="ID" HeaderText="ID号" ItemStyle-Width="50px" />
                  <asp:BoundField DataField="ID" HeaderText="姓名" ItemStyle-Width="50px" />  
                <asp:BoundField DataField="ID" HeaderText="学院" ItemStyle-Width="50px" /> 
                 <asp:BoundField DataField="ID" HeaderText="民族" ItemStyle-Width="50px" />
                  <asp:BoundField DataField="ID" HeaderText="性别" ItemStyle-Width="50px" />
            </Columns>
            
        </asp:GridView>
   
    </div>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </form>
</body>
</html>
